# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=font-noto-emoji
pkgver=2.047
pkgrel=0
pkgdesc="Google Noto emoji fonts"
url="https://github.com/googlefonts/noto-emoji"
arch="noarch"
license="OFL-1.1"
source="https://github.com/googlefonts/noto-emoji/archive/v$pkgver/font-noto-emoji-$pkgver.tar.gz"
options="!check" # No code to test
builddir="$srcdir/noto-emoji-$pkgver"

# Prior to commit 213931dec8bb08b1d4e500bf06f3892d711e9499 we build
# font-noto-emoji from source. However, some makedependencies were not
# available on all architectures and building everything from source
# blocks some builders for some time, hence using the pre-built now.

package() {
	install -Dm644 -t "$pkgdir"/usr/share/fonts/noto \
		fonts/NotoColorEmoji.ttf
}

sha512sums="
fcb798e7f3b900807292ed9617b220ab8c6e2a77aad875d8b2741cfe96492860a6d9341fdfe783296afc3b6a2870507236aca9e40f395e94ebc2978ef8e7a66b  font-noto-emoji-2.047.tar.gz
"
